package com.solocredit.finance.utils.track;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "fleximola_track_events")
public class FlexiMolaTrackEvent {
    @PrimaryKey(autoGenerate = true)
    private long id;
    private final String type;
    private final String remark;
    private final long timestamp;
    private boolean isReported;

    public FlexiMolaTrackEvent(String type, String remark, long timestamp, boolean isReported) {
        this.type = type;
        this.remark = remark;
        this.timestamp = timestamp;
        this.isReported = isReported;
    }

    // Getters and Setters
    public long getId() { return id; }
    public void setId(long id) { this.id = id; }
    public String getType() { return type; }
    public String getRemark() { return remark; }
    public long getTimestamp() { return timestamp; }
    public boolean isReported() { return isReported; }
    public void setReported(boolean reported) { isReported = reported; }
}
